<template>
  <div class="price-bd">
      <span class="iconfont icon-price"></span>
      <span class="price">￥ {{price}} 元起</span>
  </div>
</template>

<script>
export default {
  name: 'DetailPrice',
  props: {
      price: {
          type: Number,
          default () {
              return 0
          }
      }
  }
}
</script>

<style lang="scss" scoped>
.price-bd {
    display: flex;
    height: .44rem;
    padding: .03rem .15rem 0;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    line-height: .39rem;
    box-sizing: border-box;

    .icon-price {
        font-size: .18rem;
        color: #000;
    }
    
    .price {
        font-size: .14rem;
        margin-left: .1rem;
    }
}
</style>